
<!DOCTYPE HTML>
<html lang="zh-hans" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>参考手册 · GISBook</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        <meta name="author" content="kongchao">
        
        
    
    <link rel="stylesheet" href="../gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-back-to-top-button/plugin.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-page-toc-button/plugin.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-chapter-fold/chapter-fold.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-code/plugin.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-splitter/splitter.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-search-pro/search.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-insert-logo/plugin.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-pageview-count/plugin.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-tbfed-pagefooter/footer.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-donate/plugin.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
        <link rel="stylesheet" href="../styles/website.css">
        
    

        
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="../gitbook/images/favicon.ico" type="image/x-icon">

    
    
    <link rel="prev" href="quickstart.html" />
    

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="输入并搜索" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    
    
        
        <li>
            <a href="http://www.richfit.com/" target="_blank" class="custom-link">官网网站</a>
        </li>
    
    

    
    <li class="divider"></li>
    

    
        
        <li class="header">1.简介</li>
        
        
    
        <li class="chapter " data-level="1.1" data-path="../">
            
                <a href="../">
            
                    
                        <b>1.1.</b>
                    
                    简介
            
                </a>
            

            
        </li>
    

    
        
        <li class="header">2.GIS基础知识</li>
        
        
    
        <li class="chapter " data-level="2.1" >
            
                <a target="_blank" href="http://www.baidu.com">
            
                    
                        <b>2.1.</b>
                    
                    GIS基础知识
            
                </a>
            

            
        </li>
    

    
        
        <li class="header">3.ArcGIS平台介绍</li>
        
        
    
        <li class="chapter " data-level="3.1" >
            
                <span>
            
                    
                        <b>3.1.</b>
                    
                    ArcGIS Enterprise 介绍
            
                </span>
            

            
        </li>
    
        <li class="chapter " data-level="3.2" >
            
                <span>
            
                    
                        <b>3.2.</b>
                    
                    ArcGIS Enterprise 环境搭建
            
                </span>
            

            
        </li>
    
        <li class="chapter " data-level="3.3" >
            
                <span>
            
                    
                        <b>3.3.</b>
                    
                    ArcGIS Geodatabase 与企业级地理数据库
            
                </span>
            

            
        </li>
    
        <li class="chapter " data-level="3.4" >
            
                <span>
            
                    
                        <b>3.4.</b>
                    
                    三维模型数据标准与处理
            
                </span>
            

            
        </li>
    
        <li class="chapter " data-level="3.5" >
            
                <span>
            
                    
                        <b>3.5.</b>
                    
                    发布服务
            
                </span>
            

            
        </li>
    

    
        
        <li class="header">4.二维GIS组件</li>
        
        
    
        <li class="chapter " data-level="4.1" >
            
                <span>
            
                    
                        <b>4.1.</b>
                    
                    组件参考手册
            
                </span>
            

            
        </li>
    

    
        
        <li class="header">5.三维GIS组件</li>
        
        
    
        <li class="chapter " data-level="5.1" data-path="../3d/quickstart.html">
            
                <a href="../3d/quickstart.html">
            
                    
                        <b>5.1.</b>
                    
                    快速入门
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="5.2" data-path="../3d/reference.html">
            
                <a href="../3d/reference.html">
            
                    
                        <b>5.2.</b>
                    
                    参考手册
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="5.3" >
            
                <span>
            
                    
                        <b>5.3.</b>
                    
                    代码示例
            
                </span>
            

            
        </li>
    

    
        
        <li class="header">6.Android组件</li>
        
        
    
        <li class="chapter " data-level="6.1" data-path="quickstart.html">
            
                <a href="quickstart.html">
            
                    
                        <b>6.1.</b>
                    
                    快速入门
            
                </a>
            

            
        </li>
    
        <li class="chapter active" data-level="6.2" data-path="reference.html">
            
                <a href="reference.html">
            
                    
                        <b>6.2.</b>
                    
                    参考手册
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="6.3" >
            
                <span>
            
                    
                        <b>6.3.</b>
                    
                    代码示例
            
                </span>
            

            
        </li>
    

    
        
        <li class="header">7.相关标准规范</li>
        
        
    
        <li class="chapter " data-level="7.1" >
            
                <span>
            
                    
                        <b>7.1.</b>
                    
                    java开发规范
            
                </span>
            

            
        </li>
    
        <li class="chapter " data-level="7.2" >
            
                <span>
            
                    
                        <b>7.2.</b>
                    
                    android开发规范
            
                </span>
            

            
        </li>
    

    
        
        <li class="header">8.参考资料</li>
        
        
    
        <li class="chapter " data-level="8.1" >
            
                <a target="_blank" href="https://developers.arcgis.com/javascript/">
            
                    
                        <b>8.1.</b>
                    
                    ArcGIS API for JavaScript 4.+
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="8.2" >
            
                <a target="_blank" href="https://developers.arcgis.com/javascript/3/">
            
                    
                        <b>8.2.</b>
                    
                    ArcGIS API for JavaScript 3.+
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="8.3" >
            
                <a target="_blank" href="https://developers.arcgis.com/android/latest/">
            
                    
                        <b>8.3.</b>
                    
                    ArcGIS Runtime SDK for Android
            
                </a>
            

            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            本书使用 GitBook 发布
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href=".." >参考手册</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <h1 id="android-gis&#x7EC4;&#x4EF6;&#x53C2;&#x8003;&#x624B;&#x518C;">Android GIS&#x7EC4;&#x4EF6;&#x53C2;&#x8003;&#x624B;&#x518C;</h1>
<p>[TOC]</p>
<h1 id="1&#x57FA;&#x672C;&#x4ECB;&#x7ECD;">1.&#x57FA;&#x672C;&#x4ECB;&#x7ECD;</h1>
<p>&#x4E00;&#x4E2A;&#x4E8C;&#x7EF4;&#x5730;&#x56FE;&#x5E94;&#x7528;&#x901A;&#x5E38;&#x7531;&#x5730;&#x56FE;&#x56FE;&#x5C42;&#x548C;&#x5730;&#x56FE;&#x4E0A;&#x7684;ui&#x7EC4;&#x4EF6;&#x6784;&#x6210;&#xFF0C;&#x4E3A;&#x4E86;&#x65B9;&#x4FBF;&#x64CD;&#x4F5C;&#x5730;&#x56FE;&#xFF0C;&#x5730;&#x56FE;&#x7EC4;&#x4EF6;&#x8FD8;&#x5E94;&#x8BE5;&#x5C01;&#x88C5;&#x4E00;&#x4E9B;&#x5E38;&#x7528;&#x7684;&#x5730;&#x56FE;&#x64CD;&#x4F5C;&#x63A5;&#x53E3;&#x3002;&#x5730;&#x56FE;&#x7EC4;&#x4EF6;&#x7684;&#x57FA;&#x672C;&#x6784;&#x6210;&#x5982;&#x4E0B;&#x56FE;&#xFF1A;</p>
<p><img src="assets/image-20200727135645599.png" alt="image-20200727135645599"></p>
<p>&#x5730;&#x56FE;&#x56FE;&#x5C42;&#x6309;&#x529F;&#x80FD;&#x5212;&#x5206;&#x53EF;&#x4EE5;&#x5206;&#x6210;&#x57FA;&#x7840;&#x5E95;&#x56FE;&#x548C;&#x4E1A;&#x52A1;&#x56FE;&#x5C42;&#x3002;&#x57FA;&#x7840;&#x5E95;&#x56FE;&#x901A;&#x5E38;&#x7528;&#x4F5C;&#x5730;&#x56FE;&#x7684;&#x80CC;&#x666F;&#xFF0C;&#x5730;&#x56FE;&#x7EC4;&#x4EF6;&#x9ED8;&#x8BA4;&#x7684;&#x5E95;&#x56FE;&#x6709;&#x5929;&#x5730;&#x56FE;&#x5F71;&#x50CF;&#x3001;&#x5929;&#x5730;&#x56FE;&#x884C;&#x653F;&#x533A;&#x5212;&#x56FE;&#x548C;&#x5929;&#x5730;&#x56FE;&#x5730;&#x5F62;&#x56FE;&#xFF0C;&#x57FA;&#x7840;&#x5E95;&#x56FE;&#x53EF;&#x4EE5;&#x7531;ui&#x7EC4;&#x4EF6;&#x7684;&#x5E95;&#x56FE;&#x5207;&#x6362;&#x63A7;&#x4EF6;&#x5207;&#x6362;&#x3002;&#x4E1A;&#x52A1;&#x56FE;&#x5C42;&#x901A;&#x5E38;&#x662F;&#x7BA1;&#x9053;&#x4E1A;&#x52A1;&#x76F8;&#x5173;&#x7684;&#x8981;&#x7D20;&#x56FE;&#x5C42;&#xFF0C;&#x5730;&#x56FE;&#x7EC4;&#x4EF6;&#x6839;&#x636E;RfMapView&#x7684;&#x81EA;&#x5B9A;&#x4E49;&#x5C5E;&#x6027;layers_theme_name&#x4E3B;&#x9898;&#x540D;&#x79F0;&#x6765;&#x83B7;&#x53D6;&#x4E1A;&#x52A1;&#x56FE;&#x5C42;&#x5217;&#x8868;&#xFF0C;&#x4E1A;&#x52A1;&#x56FE;&#x5C42;&#x53EF;&#x4EE5;&#x7531;ui&#x7EC4;&#x4EF6;&#x7684;&#x4E1A;&#x52A1;&#x56FE;&#x5C42;&#x63A7;&#x4EF6;&#x63A7;&#x5236;&#x663E;&#x793A;&#x548C;&#x9690;&#x85CF;&#x3002;</p>
<p>ui&#x7EC4;&#x4EF6;&#x901A;&#x5E38;&#x662F;&#x5730;&#x56FE;&#x5E38;&#x7528;&#x7684;&#x529F;&#x80FD;&#x7EC4;&#x4EF6;&#xFF0C;&#x76EE;&#x524D;&#x6709;&#x4E24;&#x79CD;&#x98CE;&#x683C;&#xFF0C;&#x5DE5;&#x5177;&#x680F;&#x5F0F;ToolsBarControllerView&#x548C;DrawerContainerView&#x62BD;&#x5C49;&#x9762;&#x677F;&#xFF0C;&#x8BE6;&#x7EC6;&#x7684;&#x8BF4;&#x660E;&#x53C2;&#x8003;1.2&#x3002;</p>
<p>&#x5730;&#x56FE;&#x64CD;&#x4F5C;&#x63A5;&#x53E3;&#x6BD4;&#x8F83;&#x591A; &#xFF0C;&#x8BF7;&#x53C2;&#x8003;&#x7B2C;&#x4E8C;&#x8282;&#x3002;</p>
<h1 id="2-&#x5E38;&#x7528;&#x7EC4;&#x4EF6;&#x53CA;&#x914D;&#x7F6E;">2 &#x5E38;&#x7528;&#x7EC4;&#x4EF6;&#x53CA;&#x914D;&#x7F6E;</h1>
<h2 id="21-rfmapview">2.1 RfMapView</h2>
<p>&#x5730;&#x56FE;&#x5E94;&#x7528;&#x7EC4;&#x4EF6;&#x5305;&#x542B;&#x4E86;&#x5E38;&#x7528;&#x7684;&#x5730;&#x56FE;&#x64CD;&#x4F5C;&#x63A5;&#x53E3;&#xFF0C;&#x4E5F;&#x662F;&#x5730;&#x56FE;ui&#x7EC4;&#x4EF6;&#x7684;&#x7236;&#x7EC4;&#x4EF6;&#x3002;&#x6709;&#x4EE5;&#x4E0B;&#x51E0;&#x4E2A;&#x81EA;&#x5B9A;&#x4E49;&#x5C5E;&#x6027;&#xFF1A;</p>
<h3 id="211-layersthemename">2.1.1 layers_theme_name</h3>
<p>&#x6307;&#x540D;&#x5730;&#x56FE;&#x9700;&#x8981;&#x52A0;&#x8F7D;&#x7684;&#x4E1A;&#x52A1;&#x56FE;&#x5C42;&#x7684;&#x4E3B;&#x9898;&#x540D;&#x79F0;&#x3002;</p>
<h3 id="212-maprotationenable">2.1.2 map_rotation_enable</h3>
<p>&#x5730;&#x56FE;&#x662F;&#x5426;&#x5F00;&#x542F;&#x65CB;&#x8F6C;&#xFF0C;&#x4E8C;&#x7EF4;&#x5730;&#x56FE;&#x9ED8;&#x8BA4;&#x4E3A;false&#x3002;</p>
<h3 id="213-orientationrotationenable">2.1.3 orientation_rotation_enable</h3>
<p>&#x5730;&#x56FE;&#x5F53;&#x524D;&#x4F4D;&#x7F6E;&#x56FE;&#x6807;&#x662F;&#x5426;&#x542F;&#x7528;&#x65B9;&#x5411;&#x4F20;&#x611F;&#x5668;&#xFF0C;&#x4E8C;&#x7EF4;&#x5730;&#x56FE;&#x9ED8;&#x8BA4;&#x4E3A;true&#x3002;</p>
<h2 id="22-toolsbarcontrollerview">2.2 ToolsBarControllerView</h2>
<p>&#x5730;&#x56FE;&#x5DE5;&#x5177;&#x680F;&#xFF0C;&#x5305;&#x542B;&#x653E;&#x5927;&#x3001;&#x7F29;&#x5C0F;&#x3001;&#x6307;&#x5317;&#x3001;&#x5207;&#x6362;&#x5E95;&#x56FE;&#x3001;&#x8BBE;&#x7F6E;&#x4E1A;&#x52A1;&#x56FE;&#x5C42;&#x3001;&#x5B9A;&#x4F4D;&#x5F53;&#x524D;&#x4F4D;&#x7F6E;&#x3001;&#x6807;&#x70B9;&#x3001;&#x6E05;&#x9664;&#x6807;&#x70B9;&#x7B49;&#x5DE5;&#x5177;&#x3002;&#x81EA;&#x5B9A;&#x4E49;&#x5C5E;&#x6027;&#x914D;&#x7F6E;&#x6709;&#xFF1A;</p>
<h3 id="221-rfmaptbzoominenable">2.2.1 rfmap_tb_zoom_in_enable</h3>
<p>&#x662F;&#x5426;&#x663E;&#x793A;&#x653E;&#x5927;&#x6309;&#x94AE;</p>
<h3 id="222-rfmaptbzoomoutenable">2.2.2 rfmap_tb_zoom_out_enable</h3>
<p>&#x662F;&#x5426;&#x663E;&#x793A;&#x7F29;&#x5C0F;&#x6309;&#x94AE;</p>
<h3 id="223-rfmaptbcompassenable">2.2.3 rfmap_tb_compass_enable</h3>
<p>&#x662F;&#x5426;&#x663E;&#x793A;&#x6307;&#x5317;&#x6309;&#x94AE;</p>
<h3 id="224-rfmaptbbasemapenable">2.2.4 rfmap_tb_basemap_enable</h3>
<p>&#x662F;&#x5426;&#x663E;&#x793A;&#x5E95;&#x56FE;&#x5207;&#x6362;&#x6309;&#x94AE;</p>
<h3 id="225-rfmaptblayersenable">2.2.5 rfmap_tb_layers_enable</h3>
<p>&#x662F;&#x5426;&#x663E;&#x793A;&#x4E1A;&#x52A1;&#x56FE;&#x5C42;&#x63A7;&#x5236;&#x6309;&#x94AE;</p>
<h3 id="226-rfmaptblocateenable">2.2.6 rfmap_tb_locate_enable</h3>
<p>&#x662F;&#x5426;&#x663E;&#x793A;&#x5730;&#x56FE;&#x5B9A;&#x4F4D;&#x6309;&#x94AE;</p>
<h3 id="227-rfmaptbclearenable">2.2.7 rfmap_tb_clear_enable</h3>
<p>&#x662F;&#x5426;&#x663E;&#x793A;&#x6E05;&#x9664;&#x6309;&#x94AE;</p>
<h2 id="23-drawercontainerview">2.3 DrawerContainerView</h2>
<h3 id="231-rfmapdczoominenable">2.3.1 rfmap_dc_zoom_in_enable</h3>
<p>&#x662F;&#x5426;&#x663E;&#x793A;&#x653E;&#x5927;&#x6309;&#x94AE;</p>
<h3 id="232-rfmapdczoomoutenable">2.3.2 rfmap_dc_zoom_out_enable</h3>
<p>&#x662F;&#x5426;&#x663E;&#x793A;&#x7F29;&#x5C0F;&#x6309;&#x94AE;</p>
<h3 id="233-rfmapdclayersenable">2.3.3 rfmap_dc_layers_enable</h3>
<p>&#x662F;&#x5426;&#x663E;&#x793A;&#x56FE;&#x5C42;&#x63A7;&#x5236;&#x6309;&#x94AE;</p>
<h3 id="234-rfmapdclocateenable">2.3.4 rfmap_dc_locate_enable</h3>
<p>&#x662F;&#x5426;&#x663E;&#x793A;&#x5B9A;&#x4F4D;&#x6309;&#x94AE;</p>
<h1 id="3&#x5730;&#x56FE;&#x64CD;&#x4F5C;&#x63A5;&#x53E3;&#x8BF4;&#x660E;">3.&#x5730;&#x56FE;&#x64CD;&#x4F5C;&#x63A5;&#x53E3;&#x8BF4;&#x660E;</h1>
<p>&#x5730;&#x56FE;&#x5E38;&#x7528;&#x7684;&#x64CD;&#x4F5C;&#x63A5;&#x53E3;&#x5C01;&#x88C5;&#x5728;RfMapView&#x4E2D;&#xFF0C;&#x9996;&#x5148;&#x5148;&#x83B7;&#x53D6;RfMapView&#x5B9E;&#x4F8B;&#x3002;</p>
<pre><code class="lang-java">rfMap = findViewById(R.id.rfMap);
</code></pre>
<p>&#x6240;&#x6709;&#x7684;&#x5730;&#x56FE;&#x64CD;&#x4F5C;&#x63A5;&#x53E3;&#x901A;&#x8FC7;RfMapView&#x5B9E;&#x4F8B;&#x6765;&#x8C03;&#x7528;&#xFF0C;&#x76EE;&#x524D;&#x7684;&#x63A5;&#x53E3;&#x4E3B;&#x8981;&#x662F;<strong>&#x4E8C;&#x7EF4;&#x5730;&#x56FE;</strong>&#x529F;&#x80FD;&#x63A5;&#x53E3;&#x3002;&#x4E3B;&#x8981;&#x7684;&#x529F;&#x80FD;&#x63A5;&#x53E3;&#x5982;&#x4E0B;&#xFF1A;</p>
<h2 id="31-&#x5730;&#x56FE;&#x5BFC;&#x822A;&#x7C7B;">3.1 &#x5730;&#x56FE;&#x5BFC;&#x822A;&#x7C7B;</h2>
<h3 id="311-zoomin">3.1.1 zoomIn()</h3>
<p>&#x5730;&#x56FE;&#x653E;&#x5927;&#x4E00;&#x7EA7;</p>
<h3 id="312-zoomout">3.1.2 zoomOut()</h3>
<p>&#x5730;&#x56FE;&#x7F29;&#x5C0F;&#x4E00;&#x7EA7;</p>
<h3 id="313-scale">3.1.3 scale()</h3>
<p>&#x83B7;&#x53D6;&#x5F53;&#x524D;&#x5730;&#x56FE;&#x6BD4;&#x4F8B;&#x5C3A;</p>
<h3 id="314-scaledouble-scale">3.1.4 scale(double scale)</h3>
<p>&#x8BBE;&#x7F6E;&#x5730;&#x56FE;&#x6BD4;&#x4F8B;&#x5C3A;</p>
<p>&#x53C2;&#x6570;&#xFF1A;</p>
<ul>
<li>scale &#x6BD4;&#x4F8B;&#x5C3A;</li>
</ul>
<h3 id="315-rotation">3.1.5 rotation()</h3>
<p>&#x83B7;&#x53D6;&#x5730;&#x56FE;&#x65CB;&#x8F6C;&#x65B9;&#x4F4D;&#x89D2;</p>
<h3 id="316-rotationdouble-rotation">3.1.6 rotation(double rotation)</h3>
<p>&#x8BBE;&#x7F6E;&#x5730;&#x56FE;&#x65CB;&#x8F6C;&#x65B9;&#x4F4D;&#x89D2;</p>
<p>&#x53C2;&#x6570;&#xFF1A;</p>
<ul>
<li>rotation &#x65B9;&#x4F4D;&#x89D2;&#xFF0C;&#x5355;&#x4F4D;&#x662F;&#x5EA6;&#xFF0C;&#x53D6;&#x503C;&#x8303;&#x56F4;&#x4E3A;[-360,360]</li>
</ul>
<h3 id="317-refreshselfmarkerlocationpoint-point">3.1.7 refreshSelfMarkerLocation(Point point)</h3>
<p>&#x8BBE;&#x7F6E;&#x5F53;&#x524D;&#x56FE;&#x6807;&#x4F4D;&#x7F6E; &#xFF0C;&#x6709;&#x51E0;&#x4E2A;&#x91CD;&#x8F7D;&#x65B9;&#x6CD5;&#x3002;</p>
<p>&#x53C2;&#x6570;&#xFF1A;</p>
<ul>
<li>point </li>
</ul>
<h3 id="318-locateonce">3.1.8 locateOnce()</h3>
<p>&#x5B9A;&#x4F4D;&#x5F53;&#x524D;&#x4F4D;&#x7F6E;</p>
<h3 id="319-startautolocate">3.1.9 startAutoLocate()</h3>
<p>&#x5F00;&#x542F;&#x81EA;&#x52A8;&#x5B9A;&#x4F4D;&#xFF0C;&#x79FB;&#x52A8;&#x8BBE;&#x5907;&#x4F4D;&#x7F6E;&#x53D1;&#x751F;&#x53D8;&#x5316;&#x65F6;&#x81EA;&#x52A8;&#x5B9A;&#x4F4D;&#x5230;&#x65B0;&#x4F4D;&#x7F6E;</p>
<h3 id="320-stopautolocate">3.2.0 stopAutoLocate</h3>
<p>&#x7ED3;&#x675F;&#x81EA;&#x52A8;&#x5B9A;&#x4F4D;</p>
<h2 id="32-&#x56FE;&#x5C42;&#x64CD;&#x4F5C;&#x7C7B;">3.2 &#x56FE;&#x5C42;&#x64CD;&#x4F5C;&#x7C7B;</h2>
<h3 id="321-basemaps">3.2.1 basemaps()</h3>
<p>&#x83B7;&#x53D6;&#x5E95;&#x56FE;&#x914D;&#x7F6E;</p>
<h3 id="322-selectbasemapint-index">3.2.2 selectBasemap(int index)</h3>
<p>&#x5207;&#x6362;&#x5E95;&#x56FE;</p>
<p>&#x53C2;&#x6570;&#xFF1A;</p>
<ul>
<li>index &#x5E95;&#x56FE;&#x7D22;&#x5F15;&#x53F7;</li>
</ul>
<h3 id="323-optionallayers">3.2.3 optionallayers()</h3>
<p>&#x83B7;&#x53D6;&#x4E1A;&#x52A1;&#x56FE;&#x5C42;&#x914D;&#x7F6E;</p>
<h3 id="324-layervisibleint-index--boolean-visible">3.2.4 layerVisible(int index  ,boolean visible)</h3>
<p>&#x8BBE;&#x7F6E;&#x4E1A;&#x52A1;&#x56FE;&#x5C42;&#x53EF;&#x89C1;&#x5EA6;</p>
<p>&#x53C2;&#x6570;&#xFF1A;</p>
<ul>
<li>index &#x56FE;&#x5C42;&#x7D22;&#x5F15;&#x53F7;</li>
<li>visible &#x662F;&#x5426;&#x53EF;&#x89C1;</li>
</ul>
<h3 id="325-addoverlay">3.2.5 addOverlay()</h3>
<p>&#x6DFB;&#x52A0;&#x8986;&#x76D6;&#x7269;&#x56FE;&#x5C42;</p>
<p>&#x8FD4;&#x56DE;:</p>
<p>&#x8986;&#x76D6;&#x7269;&#x56FE;&#x5C42;GraphicsOverlay </p>
<h3 id="326-clearoverlaygraphicsoverlay-overlay">3.2.6 clearOverlay(GraphicsOverlay overlay)</h3>
<p>&#x6E05;&#x7A7A;&#x56FE;&#x5C42;</p>
<p>&#x53C2;&#x6570;&#xFF1A;</p>
<ul>
<li>&#x8986;&#x76D6;&#x7269;&#x56FE;&#x5C42;</li>
</ul>
<h3 id="327-addpicturegraphicgraphicsoverlay-overlay-double-longitude-double-latitude--map-attributes-bitmapdrawable-startdrawable-int-offsetx-int-offsety-">3.2.7 addPictureGraphic(GraphicsOverlay overlay ,double longitude ,double latitude , Map<string,object> attributes ,BitmapDrawable startDrawable ,int offsetX ,int offsetY )</string,object></h3>
<p>&#x7ED9;&#x56FE;&#x5C42;&#x6DFB;&#x52A0;&#x56FE;&#x6807;</p>
<p>&#x53C2;&#x6570;&#xFF1A;</p>
<ul>
<li>overlay  &#x8986;&#x76D6;&#x7269;&#x56FE;&#x5C42;</li>
<li>longitude &#x7ECF;&#x5EA6;</li>
<li>latitude &#x7EAC;&#x5EA6;</li>
<li>attributes &#x56FE;&#x6807;&#x5C5E;&#x6027;</li>
<li>startDrawable &#x56FE;&#x6807;</li>
<li>offsetX &#x56FE;&#x6807;x&#x65B9;&#x5411;&#x504F;&#x79FB;&#x50CF;&#x7D20;</li>
<li>offsetY &#x56FE;&#x6807;y&#x65B9;&#x5411;&#x504F;&#x79FB;&#x50CF;&#x7D20;</li>
</ul>
<h3 id="328-createpicturesymbol-bitmapdrawable-startdrawable-int-offsetx-int-offsety">3.2.8 createPictureSymbol (BitmapDrawable startDrawable ,int offsetX ,int offsetY)</h3>
<p>&#x521B;&#x5EFA;&#x56FE;&#x6807;&#x6837;&#x5F0F;</p>
<p>&#x53C2;&#x6570;&#xFF1A;</p>
<ul>
<li>startDrawable  &#x56FE;&#x6807;&#x8D44;&#x6E90;</li>
<li>offsetX &#x56FE;&#x6807;x&#x65B9;&#x5411;&#x504F;&#x79FB;</li>
<li>offsetY &#x56FE;&#x6807;y&#x65B9;&#x5411;&#x504F;&#x79FB;</li>
</ul>
<p>&#x8FD4;&#x56DE;&#xFF1A;PictureMarkerSymbol</p>
<h3 id="329-selfmarkersymbolsymbol-symbol">3.2.9 selfMarkerSymbol(Symbol symbol)</h3>
<p>&#x5982;&#x679C;&#x5F53;&#x524D;&#x9ED8;&#x8BA4;&#x7684;&#x56FE;&#x6807;&#x4E0D;&#x5408;&#x9002;&#xFF0C;&#x53EF;&#x4EE5;&#x8BBE;&#x7F6E;&#x5F53;&#x524D;&#x56FE;&#x6807;&#x6837;&#x5F0F;</p>
<p>&#x53C2;&#x6570;&#xFF1A;</p>
<ul>
<li>symbol &#x8BBE;&#x7F6E;&#x5F53;&#x524D;&#x4F4D;&#x7F6E;&#x56FE;&#x6807;</li>
</ul>
<h3 id="3210-selectgraphic-graphic">3.2.10 select(Graphic graphic)</h3>
<p>&#x9009;&#x4E2D;&#x5E76;&#x5B9A;&#x4F4D;&#x67D0;&#x4E2A;&#x8981;&#x7D20;</p>
<p>&#x53C2;&#x6570;&#xFF1A;</p>
<ul>
<li>graphic &#x76EE;&#x6807;&#x56FE;&#x5F62;</li>
</ul>
<h2 id="33-&#x7F16;&#x8F91;&#x6807;&#x7ED8;&#x7C7B;">3.3 &#x7F16;&#x8F91;&#x6807;&#x7ED8;&#x7C7B;</h2>
<h3 id="331-drawpoint">3.3.1 drawPoint()</h3>
<p>&#x7ED8;&#x5236;&#x70B9;&#xFF0C;&#x9ED8;&#x8BA4;&#x4E3A;&#x5706;</p>
<h3 id="332-drawpointsimplemarkersymbol-markersymbol">3.3.2 drawPoint(SimpleMarkerSymbol markerSymbol)</h3>
<p>&#x7ED8;&#x5236;&#x7B80;&#x5355;&#x7B26;&#x53F7;&#x70B9;</p>
<p>&#x53C2;&#x6570;&#xFF1A;</p>
<ul>
<li>markerSymbol &#x7B80;&#x5355;&#x7B26;&#x53F7;&#x6837;&#x5F0F;</li>
</ul>
<h3 id="333-drawpicpoint">3.3.3 drawPicPoint()</h3>
<p>&#x7ED8;&#x5236;&#x56FE;&#x6807;&#x70B9;</p>
<h3 id="334-drawpicpointpicturemarkersymbol-markersymbol">3.3.4 drawPicPoint(PictureMarkerSymbol markerSymbol)</h3>
<p>&#x7ED8;&#x5236;&#x56FE;&#x6807;&#x70B9;</p>
<p>&#x53C2;&#x6570;&#xFF1A;</p>
<ul>
<li>markerSymbol&#x81EA;&#x5B9A;&#x4E49;&#x56FE;&#x6807;&#x6837;&#x5F0F;</li>
</ul>
<h3 id="335-drawpolyline">3.3.5 drawPolyline()</h3>
<p>&#x7ED8;&#x5236;&#x7EBF;&#x6BB5;&#xFF0C;&#x9ED8;&#x8BA4;&#x4E3A;&#x7EA2;&#x8272;</p>
<h3 id="336-drawpolylinesimplelinesymbol-linesymbol">3.3.6 drawPolyline(SimpleLineSymbol lineSymbol)</h3>
<p>&#x7ED8;&#x5236;&#x7EBF;&#x6BB5;</p>
<p>&#x53C2;&#x6570;&#xFF1A;</p>
<ul>
<li>lineSymbol&#x81EA;&#x5B9A;&#x4E49;&#x7EBF;&#x6BB5;&#x6837;&#x5F0F;</li>
</ul>
<h3 id="337-drawpolygon">3.3.7 drawPolygon()</h3>
<p>&#x7ED8;&#x5236;&#x9762;</p>
<h3 id="338-drawpolygonsimplefillsymbol-fillsymbol">3.3.8 drawPolygon(SimpleFillSymbol fillSymbol)</h3>
<p>&#x7ED8;&#x5236;&#x9762;</p>
<p>&#x53C2;&#x6570;&#xFF1A;</p>
<ul>
<li>fillSymbol&#x81EA;&#x5B9A;&#x4E49;&#x9762;&#x6837;&#x5F0F;</li>
</ul>
<h3 id="339-cleardrawresult">3.3.9 clearDrawResult()</h3>
<p>&#x6E05;&#x9664;&#x6807;&#x7ED8; </p>
<footer class="page-footer"><span class="copyright">Copyright&#xA9;&#x5317;&#x4EAC;&#x4E2D;&#x6CB9;&#x745E;&#x98DE;&#x4FE1;&#x606F;&#x6280;&#x672F;&#x6709;&#x9650;&#x516C;&#x53F8; &#x667A;&#x6167;&#x5B98;&#x7F51;&#x4E1A;&#x52A1;&#x90E8; all right reserved&#xFF0C;powered by Gitbook</span><span class="footer-modification">&#x4FEE;&#x8BA2;&#x65F6;&#x95F4;&#xFF1A;
2020-07-28 20:46:13
</span></footer>
<script>console.log("plugin-popup....");document.onclick = function(e){ e.target.tagName === "IMG" && window.open(e.target.src,e.target.src)}</script><style>img{cursor:pointer}</style>
                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                <a href="quickstart.html" class="navigation navigation-prev navigation-unique" aria-label="Previous page: 快速入门">
                    <i class="fa fa-angle-left"></i>
                </a>
                
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"参考手册","level":"6.2","depth":1,"next":{"title":"代码示例","level":"6.3","depth":1,"ref":"","articles":[]},"previous":{"title":"快速入门","level":"6.1","depth":1,"path":"android/quickstart.md","ref":"android/quickstart.md","articles":[]},"dir":"ltr"},"config":{"plugins":["hide-element","back-to-top-button","page-toc-button","chapter-fold","code","splitter","-lunr","-search","search-pro","insert-logo","custom-favicon","pageview-count","tbfed-pagefooter","popup","-sharing","sharing-plus","donate","livereload"],"styles":{"website":"styles/website.css"},"pluginsConfig":{"tbfed-pagefooter":{"copyright":"Copyright©北京中油瑞飞信息技术有限公司 智慧官网业务部","modify_label":"修订时间：","modify_format":"YYYY-MM-DD HH:mm:ss"},"chapter-fold":{},"livereload":{},"splitter":{},"search-pro":{},"sharing-plus":{"qq":false,"all":["facebook","google","twitter","instapaper","linkedin","pocket","stumbleupon"],"douban":false,"facebook":true,"weibo":false,"instapaper":false,"whatsapp":false,"hatenaBookmark":false,"twitter":true,"messenger":false,"line":false,"vk":false,"pocket":true,"google":false,"viber":false,"stumbleupon":false,"qzone":false,"linkedin":false},"popup":{},"code":{"copyButtons":true},"donate":{"alipay":"http://doc.zyax.cn/jasgis/image/donate_zfb.jpg","alipayText":"支付宝公众号","button":"关注","title":"请关注以下公众号","wechat":"http://doc.zyax.cn/jasgis/image/donate_wx.jpg","wechatText":"微信公众号"},"hide-element":{"elements":[".gitbook-link"]},"fontsettings":{"theme":"white","family":"sans","size":2},"highlight":{},"favicon":"./icon/book.ico","page-toc-button":{"maxTocDepth":2,"minTocSize":2},"back-to-top-button":{},"pageview-count":{},"custom-favicon":{},"sharing":{"pocket":true,"qq":true,"qzone":true,"weibo":true,"all":["douban","facebook","google","instapaper","linkedin","twitter","weibo","messenger","qq","qzone","viber","whatsapp"]},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":true},"insert-logo":{"style":"max-height:180px;min-height:50px","url":"http://www.richfit.com/static/image/logo.png"}},"theme":"default","author":"kongchao","pdf":{"pageBreaksBefore":"/","headerTemplate":null,"paperSize":"a4","margin":{"right":62,"left":62,"top":36,"bottom":36},"fontSize":12,"fontFamily":"Arial","footerTemplate":null,"chapterMark":"pagebreak","pageNumbers":false},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"GISBook","language":"zh-hans","links":{"sharing":{"all":null,"facebook":null,"google":null,"twitter":null,"weibo":null},"sidebar":{"官网网站":"http://www.richfit.com/"}},"gitbook":"*","description":"GIS参考手册","extension":null},"file":{"path":"android/reference.md","mtime":"2020-07-28T12:46:13.058Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2020-07-28T12:51:14.923Z"},"basePath":"..","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="../gitbook/gitbook.js"></script>
    <script src="../gitbook/theme.js"></script>
    
        
        <script src="../gitbook/gitbook-plugin-hide-element/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-back-to-top-button/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-page-toc-button/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-chapter-fold/chapter-fold.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-code/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-splitter/splitter.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search-pro/jquery.mark.min.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search-pro/search.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-insert-logo/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-pageview-count/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-sharing-plus/buttons.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-donate/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-livereload/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    </body>
</html>

